import  os
import  json
os.chdir(r"D:\homework\chapter10")
with open('profile.json', 'r',) as f:
    content = json.load(f)

content['血型']='o'
content['性别']='男'
with open('profile.json', 'w') as f:
    json.dump(content, f)
    f.close()






